package com.powernode.config;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * swagger配置属性对象
 */
@Data
@ConfigurationProperties(prefix = "swagger3")
public class SwaggerProperties {

    /**
     * 描述生成文档的包名
     */
    private String basePackage;

    public SwaggerProperties() {
    }

    public SwaggerProperties(String basePackage, String name, String url, String email, String title, String description, String license, String licenseUrl, String termsOfServiceUrl, String version) {
        this.basePackage = basePackage;
        this.name = name;
        this.url = url;
        this.email = email;
        this.title = title;
        this.description = description;
        this.license = license;
        this.licenseUrl = licenseUrl;
        this.termsOfServiceUrl = termsOfServiceUrl;
        this.version = version;
    }

    /**
     * 作者名字
     */
    private String name;

    /**
     * 主页url
     */
    private String url;


    private String email;
    private String title;
    private String description;
    //服务信息
    private String license;
    private String licenseUrl;
    //服务团队
    private String termsOfServiceUrl;

    //版本号
    private String version;

}
